import request from '@/util/request'
// 请求模板---视图发送请求时只需要传递一个对象即可
export const getRoomList = function () {
    return request({
        method: 'GET',
        url: '/hospital/room/list',
    })
}
export const getRoomNameList = function (params) {
    return request({
        method: 'GET',
        url: '/hospital/room/name/list',
        data: { params }
    })
}
// 删除医生信息
export function getRoomRemove(params) {
    return request({
        method: 'DELETE',
        url: '/hospital/room/remove/detail',
        data: {params}
    })
}
export function getRoomDetail(params) {
    return request({
        method: 'GET',
        url: '/hospital/room/detail',
        data: {params}
    })
}